#include<iostream>
#include<string>
using namespace std;

void func1(int a )
{
	if (a == 0)
		throw string("a == 0, out a except");

}

void func2( int a )
{
	try {
		func1(a);
	}
	catch (int e)
	{
		cout << e << endl;
	}
}

void func3(int a)
{
	func2(a);
}
int main()
{

	try
	{
		func3(0);
	}
	catch (const string& message)
	{
		cout<< "Except : " << message << endl;
	}
	catch (...)
	{
		cout << "UnKnow" << endl;
	}
	return 0;
}